package com.echo.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageParamDTO {

    /**
     * cp: 当前页数
     * ps: 每一页的数据条数
     * order: map{待排序字段:排序规则(asc:升序,desc：降序)}
     */
    private Integer cp;
    private Integer ps;
    private Map<String,String> order;
}
